package com.shengxing.lljl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小邹
 * @since 2024-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_code")
public class Code implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 验证码id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 关联用户id
     */
    private Long userId;

    /**
     * 验证码
     */
    private String code;


}
